package com.example.redis.strategy;

public class StrategyContext {

    private IStrategy strategy;

    public void setStrategy(IStrategy strategy){
        this.strategy=strategy;
    }

    public void dosomthing(){
        strategy.dosomthing();
    }
}
